package com.ruoyi.system.domain;

/**
 * 设计状态枚举
 */
public enum DesignStatus {
    NOT_START("NOT_START","未开始", "#999999"),
    DESIGNING("DESIGNING","设计中", "#1890FF"),
    FIRST_DELIVERY("FIRST_DELIVERY","一稿交付", "#FF7D00"),
    SECOND_DELIVERY("SECOND_DELIVERY","二稿交付", "#FFAA00"),
    COMPLETED("COMPLETED","完成", "#00B42A"),
    PAUSED("PAUSED","暂停", "#FF4D4F");

    private final String code;
    private final String desc;
    private final String color;


    DesignStatus(String code, String desc, String color) {
        this.code = code;
        this.desc = desc;
        this.color = color;
    }


    public String getDesc() {
        return desc;
    }

    public String getColor() {
        return color;
    }

    public String getCode() {
        return code;
    }
}
